package com.project.poetry.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取yml配置文件constant下的变量
 * @author mengxj
 */
@Data
@Component
@ConfigurationProperties(prefix = "constant")
public class ConfigProperties {

    private Integer nameMaxLength;
}
